package org.smth.search.indexer.impl;

import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;

import java.io.Reader;

import com.google.inject.Singleton;

@Singleton
public class FlagAnalyzer extends Analyzer {

	public TokenStream tokenStream(String field, Reader reader) {
		return new FlagTokenStream(reader);
	}

}
